package com.solar.etl.transform;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.dom4j.Element;

import com.solar.etl.config.mapping.Field;
import com.solar.etl.spi.Itransform;

public class SysDate implements Itransform{

	@Override
	public String transform(Field field, Element item) {
		Date date=new Date();
		SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		field.destValue=sdf.format(date);
		return null;
	}

}
